import {createRouter, createWebHashHistory} from 'vue-router'


const routes = [
    {
        path: '/',
        name: 'login',
        alias: "/login",
        component: () => import('../views/AppLogin.vue')
    },
    {
        path: '/index',
        name: 'index',
        // alias: "/index",
        // component: () => import(/* webpackChunkName: "about" */ '../views/AppIndex.vue')
        component: () => import('../views/layout/AppIndex')
    },
    // {
    //     path: '/system',
    //     name: 'system',
    //     component: () => import(/* webpackChunkName: "about" */ '@/layout/SystemIndex')
    // },

]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
